<template>
  <div id="userLayout" class="user-layout-wrapper">
    <div class="container">
      <div class="top">
        <div class="header">
          <!-- <img src="~@/assets/images/logo.png" class="logo" alt="logo" /> -->
        </div>
      </div>

      <router-view></router-view>

      <div class="footer">
        <div class="copyright">
          版权所有 © {{ config.p_co }} | {{ config.p_icp }}
        </div>
      </div>
    </div>
  </div>
</template>

<style lang="less" scoped>
#userLayout.user-layout-wrapper {
  height: 100vh;

  .container {
    width: 100%;
    min-height: 100%;
    background: #f0f2f5 url(~@/assets/images/background.png) no-repeat 50%;
    background-size: 100%;
    padding: 60px 0 120px;
    position: relative;
    a {
      text-decoration: none;
    }
    .top {
      text-align: center;
      margin-top: 50px;
      .header {
        margin-bottom: 20px;
        .logo {
          height: 80px;
          vertical-align: top;
          margin-right: 16px;
          border-style: none;
        }
      }
      .desc {
        font-size: 14px;
        color: rgba(0, 0, 0, 0.45);
        margin-top: 12px;
        margin-bottom: 40px;
      }
    }
    .main {
      min-width: 260px;
      width: 400px;
      margin: 0 auto;
    }
    .footer {
      position: absolute;
      width: 100%;
      bottom: 0;
      padding: 0 16px;
      margin: 48px 0 48px;
      text-align: center;
      .copyright {
        color: rgba(0, 0, 0, 0.45);
        font-size: 14px;
      }
    }
  }
}
</style>
